﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
      
    <div>
    <h1>Doc du lieu tu file excel</h1>
        <asp:FileUpload ID="fileUpload" runat="server" />
        <asp:Button ID="btnRead" runat="server" Text ="Read Data From Excel" OnClick="btnRead_Click" />
        <br />
        <asp:Label ID="lblMsg" runat="server"></asp:Label>
        <asp:GridView ID="grid" runat="server"></asp:GridView>
        
        <p>
            <asp:Button ID="btnGetData" runat="server" Text="Get Person Data" OnClick="btnGetData_Click" />
            <asp:Button ID="btnExporExcel" runat="server" Text="Export 2 Excel" OnClick="btnExporExcel_Click" />
            <asp:Button ID="btnExportToExcel" runat="server" Text="Export 2 Excel With format" OnClick="btnExportToExcel_Click" />

        </p>
    </div>
    </form>
</body>
</html>
